define(["jquery"],function($){
	var tpl = {};

	tpl.init = function(){
		var html = "";
		html += babyList();
		return html;
	}

	var babyList = function(){
		return  '<script id="tpl_specialNurseList_babyList" type="text/html">'+
				'{{each rows as value i}}'+
				'	{{if value.patientId}}'+
				'	<div class="col-sm-6 col-md-4 col-lg-3 babycard clickbabycard" followQueueId="{{value.followQueueId}}" patientSchemeId="{{value.patientSchemeId}}" patientId="{{value.patientId}}">'+
				'		<div class="clearfix">'+
				'			<div class="pull-left babycard-hisno ellipsis-1">{{value.hisNo}}</div>'+
				'			<div class="pull-right babycard-queuename ellipsis-1 clickbabycard-queuename">{{value.followQueueName}}</div>'+
				'		</div>'+
				'		<div class="babycard-row02 clearfix">'+
				'			<div class="pull-left babycard-avatar clickbabycard-icon"><img src="page/followup/imgs/comm/{{if value.gender == "F"}}girl_Ahmu{{else}}boy_Ahmu{{/if}}.png"></div>'+
				'			<div class="pull-left babycard-name">'+
				'				Name'+
				'				<span class="clickbabycard-name ellipsis-1">{{value.patientName}}</span>'+
				'			</div>'+
				'			<div class="pull-right babycard-phone">'+
				'				Tel'+
				'				<span class="ellipsis-1">{{value.phoneNum}}</span>'+
				'			</div>'+
				'		</div>'+
				'		<div class="progress-wrap">'+
				'			{{each value.taskStatusArr as value1 i}}'+
				'			<div style="width:{{value.width}}"><i class="{{value1}}"></i></div>'+
				'			{{/each}}'+
				'		</div>'+
				'	</div>'+
				'	{{else}}'+
				'		<div class="col-sm-6 col-md-4 col-lg-3 babycard"></div>'+
				'	{{/if}}'+
				'{{/each}}'+
				'</script>';
	}


	return tpl;
});
